import request from "@/utils/request";

// 列表
export function noticeListApi(data) {
    return request({
        url: "/system/log/list",
        method: "get",
        params: data,
    });
}



// 更新
export function updateNoticeApi(data) {
    return request({
        url: '/system/log/update',
        method: 'put',
        data
    })
}

//审批
export function statusByProjectApi(data){
  return request({
        url: '/system/log/statusByProject',
        method: 'put',
        data
    })
}


//详情
export function noticeDetailsList(logId) {
  return request({
    url: "/system/log/getById/" + logId,
    method: "get",
  });
}


// 撤回
export function withdrawApi(data){
  return request({
    url:"/system/log/delproject",
    method:"post",
    data
  })
}
